// WebWorld.h: interface for the CWebWorld class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_WEBWORLD_H__A16BD6CD_8E5A_11E8_A103_00D0091DD4DE__INCLUDED_)
#define AFX_WEBWORLD_H__A16BD6CD_8E5A_11E8_A103_00D0091DD4DE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class DLL_EXPORT  CWebWorld  
{
public:
	CWebWorld();
	virtual ~CWebWorld();

	int GetWebPage(LPCTSTR pszURL, CString &strPage);

	int SendMessage(LPCTSTR pszURL,LPCTSTR pszPost);
	int SendMessage(LPCTSTR pszURL);

	CString getConfigXml();
};


class CWebException : public CException
{
	DECLARE_DYNCREATE(CWebException)

public:
	CWebException(int nCode = 0);
	~CWebException() { }

	int m_nErrorCode;
};


#endif // !defined(AFX_WEBWORLD_H__A16BD6CD_8E5A_11E8_A103_00D0091DD4DE__INCLUDED_)
